package com.huatai.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("sys_logo")
@ApiModel(value = "logo管理实体", description = "logo管理实体")
@Data
public class LogoManager {
	@ApiModelProperty("资源主键id")
	private Long id;


	@ApiModelProperty(value = "logoUrl地址")
	private String logoUrl;

	@ApiModelProperty(value = "iconUrl地址")
	private String iconUrl;

	@ApiModelProperty(value = "title标题")
	private String title;

	@TableField(value = "create_time",fill = FieldFill.INSERT)
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;

	@TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime updateTime;
}
